<!--//
var smat = {

		constants : {
				HINTS_MILLIS:4000,
				URL_PREFIX:'/studimat'
		},
		
		init : function () { 
			this.showHints();
			
		},
		
		showHints : function (){
			$('#hints').load(this.constants.URL_PREFIX+'/hints/');
			setTimeout("smat.showHints()",this.constants.HINTS_MILLIS);
		},
		
		initNoticeIndex : function() {
			$('#CompanyIndexForm>.form_div_buttons').hide();
			$('#CompanyCompanyId').change(function(){
					$('#CompanyIndexForm').submit();
			});
		}
}

// -->
